/////////////////////////////////////////////////////////////////////
//该类用来设置公共变量属性
//
//
/////////////////////////////////////////////////////////////////
package comValue
{
	import com.esri.ags.Map;
	
	import flash.events.EventDispatcher;
	
	import mx.collections.ArrayCollection;
	import mx.effects.Glow;
	
	import widgets.*;

	public final class comValue 
	{
		private static var _sInfoSymbolTips:String="";
		
		private static var _isPreAllSee:Boolean=true;

        private static var  _mainMap:Map;
		
		//读取周边查询的相关初始化数据
		private static var _aroundQueryHtmlTxt:String;
		private static var _aroundQueryGeoUrl:String;
		private static var _aroundQueryQueryTaskUrl:String;
		private static var _indentifyTaskUrl:String;
		private static var _indentifyLayersID:String;
		
		private static var _editFeaHttpServiceUrl:String;
        
		//渠化路段视频地址
		private static var _qhMediaUrl:String;
		
		//相关专题初始化选中项
		private static var _initSelectIndex:int=-1;
		
		//当前用户可查询与统计id集合
		private static var _queryStaticIdsArray:Array;
		public static function get queryStaticIdsArray():Array
		{
			return _queryStaticIdsArray;
		}
		public static function set queryStaticIdsArray(value:Array):void
		{
			_queryStaticIdsArray=value;
		}
		
		//当前用户可编辑图层集合
		private static var _editFeatureLayerArray:Array;
		
		
		//地图服务//Gis Rest 服务主路径
		private static var _mainGisServiceUrl:String;
		public static function get MainGisServiceUrl():String
		{
			return _mainGisServiceUrl;
		}
		public static function set MainGisServiceUrl(s_GisUrl:String):void
		{
			_mainGisServiceUrl=s_GisUrl;
		}
		
		//数据HttpServices主路径
		private static var _mainServiceUrl:String;
		public static function get MainServiceUrl():String
		{
			return _mainServiceUrl;
		}
		public static function set MainServiceUrl(s_mainUrl:String):void
		{
			_mainServiceUrl=s_mainUrl;
		}
		
		//获取当前系统登录用户
		private static var _currentUserName:String;
		public static function get currentUserName():String
		{
			return _currentUserName;
		}
		public static function set currentUserName(s_userName:String):void
		{
			_currentUserName=s_userName;
		}
		
		public static function get editFeatureLayerArray():Array
		{
			return _editFeatureLayerArray;
		}
		public static function set editFeatureLayerArray(value:Array):void
		{
			_editFeatureLayerArray=value;
		}
		
		public static function get initSelectIndex():int
		{
			return _initSelectIndex;
		}
		public static function set initSelectIndex(value:int):void
		{
		     _initSelectIndex=value;
		}
		//相关专题初始化选中项
		private static var _currentWidgetID:int;
		public static function get currentWidgetID():int
		{
			return _currentWidgetID;
		}
		
		public static function set currentWidgetID(value:int):void
		{
			_currentWidgetID=value;
		}
		private static var _widgetChildName:String;
		public static function get widgetChildName():String
		{
			return _widgetChildName;
		}
		
		public static function set widgetChildName(value:String):void
		{
			_widgetChildName=value;
		}
		
		
		public static function get sInfoSymbolTips():String
		{
			return _sInfoSymbolTips;
		}

		public static function set sInfoSymbolTips(value:String):void
		{
			_sInfoSymbolTips=value;
		}
		public static function get isPreAllSee():Boolean
		{
			return _isPreAllSee;
		}
		
		public static function set isPreAllSee(value:Boolean):void
		{
			_isPreAllSee=value;
		}
		
		public static function get mainMap():Map
		{
			return _mainMap;
		}
		
		public static function set mainMap(value:Map):void
		{
			_mainMap=value;
		}
		
		public static function get aroundQueryHtmlTxt():String
		{
			return _aroundQueryHtmlTxt;
		}
		
		public static function set aroundQueryHtmlTxt(value:String):void
		{
			_aroundQueryHtmlTxt=value;
		}
		public static function get aroundQueryGeoUrl():String
		{
			return _aroundQueryGeoUrl;
		}
		
		public static function set aroundQueryGeoUrl(value:String):void
		{
			_aroundQueryGeoUrl=value;
		}
		public static function get aroundQueryQueryTaskUrl():String
		{
			return _aroundQueryQueryTaskUrl;
		}
		
		public static function set aroundQueryQueryTaskUrl(value:String):void
		{
			_aroundQueryQueryTaskUrl=value;
		}
		
		public static function get indentifyTaskUrl():String
		{
			return _indentifyTaskUrl;
		}
		
		public static function set indentifyTaskUrl(value:String):void
		{
			_indentifyTaskUrl=value;
		}
		
		public static function get indentifyLayersID():String
		{
			return _indentifyLayersID;
		}
		
		public static function set indentifyLayersID(value:String):void
		{
			_indentifyLayersID=value;
		}
		
		public static function get  EditFeaHttpServiceUrl():String
		{
			return _editFeaHttpServiceUrl;
		}
		
		public static function set EditFeaHttpServiceUrl(value:String):void
		{
			_editFeaHttpServiceUrl=value;
		}
		
		public static function get  QhMediaUrl():String
		{
			return _qhMediaUrl;
		}
		
		public static function set QhMediaUrl(value:String):void
		{
			_qhMediaUrl=value;
		}
		
		private  static var  glowEffct:Glow;
		public static function get  getGlowEffct():Glow
		{
			glowEffct=new Glow();
			glowEffct.duration=1000;
			glowEffct.alphaFrom=1.0;
			glowEffct.alphaTo=0.3;
			glowEffct.blurXFrom=0.0;
			glowEffct.blurXTo=50.0;
			glowEffct.blurYFrom=0.0;
			glowEffct.blurYTo=50.0;
			glowEffct.color=0xFF0000;
			return glowEffct;
		}
		public static function setTarget(value:Object):void
		{
			glowEffct.target=value;
			glowEffct.play();
		}
		public static function get  getUnGlowEffct():Glow
		{
			glowEffct=new Glow();
			glowEffct.duration=1000;
			glowEffct.alphaFrom=0.3;
			glowEffct.alphaTo=1.0;
			glowEffct.blurXFrom=50.0;
			glowEffct.blurXTo=0.0;
			glowEffct.blurYFrom=50.0;
			glowEffct.blurYTo=0.0;
			glowEffct.color=0x0000FF;
			return glowEffct;
		}
		
		
	}
}